//
//  JumellageController.h
//  Cabinet
//
//  Created by Florent Montsegur on 31/12/2013.
//
//

#import <Cocoa/Cocoa.h>
#import "Person.h"
#import "PersonneJumellageController.h"
#import "VaccinArrayController.h"

@interface JumellageController : NSWindowController{
    @private
    
    PersonneJumellageController* mPersonne1Controller;
    PersonneJumellageController* mPersonne2Controller;
}

@property (nonatomic, strong) IBOutlet PersonneJumellageController* mPersonne1Controller;
@property (nonatomic, strong) IBOutlet PersonneJumellageController* mPersonne2Controller;

@property (strong) IBOutlet ConsultationArrayController *ConsultationsPersonne1;
@property (strong) IBOutlet ConsultationArrayController *ConsultationsPersonne2;
@property (strong) IBOutlet VaccinArrayController *VaccinationPersonne1;
@property (strong) IBOutlet VaccinArrayController *VaccinationPersonne2;

-(void)jumellerPersonne:(Person*)aPersonne1 avec:(Person*)aPersonne2;

-(IBAction)deplacerConsultationsVers1:(id)sender;
-(IBAction)deplacerConsultationsSelectionneesVers1:(id)sender;
-(IBAction)deplacerConsultationsVers2:(id)sender;
-(IBAction)deplacerConsultationsSelectionneesVers2:(id)sender;

-(IBAction)deplacerVaccinationsVers1:(id)sender;
-(IBAction)deplacerVaccinationsSelectionneesVers1:(id)sender;
-(IBAction)deplacerVaccinationsVers2:(id)sender;
-(IBAction)deplacerVaccinationsSelectionneesVers2:(id)sender;

-(IBAction)enregistrer:(id)sender;

@end
